Open Workspace browser to manage workspace

您所在的位置:网站首页 matlab中to workspace使用介绍 Open Workspace browser to manage workspace

Open Workspace browser to manage workspace

2023-03-17 20:26| 来源: 网络整理| 查看: 265

Workspace Browser

Open Workspace browser to manage workspace

expand all in pageDescription

The Workspace browser enables you to view and interactively manage the contents of the workspace in MATLAB®. For each variable or object in the workspace, the Workspace browser also can display statistics, when relevant, such as the minimum, maximum, and mean.

You can edit the contents of scalar (1-by-1) variables directly in the Workspace browser. Right-click the variable and select Edit Value. To edit other variables, double-click the variable name in the Workspace browser to open it in the Variables editor.

Open the Workspace Browser

To open the Workspace browser if it is not currently visible, do one of the following:

MATLAB Toolstrip: On the Home tab, in the Environment section, click Layout. Then, in the Show section, select Workspace.

MATLAB command prompt: Enter workspace.

In MATLAB Online™, the Workspace browser is called the Workspace panel. To show or hide the Workspace panel, click its icon in the sidebar. To open the Workspace panel if it is not currently in the left or right sidebar, go to the Home tab, and in the Environment section, click Layout. Then, under Layout Options, select Workspace.

Examples

expand all

Create and Edit a Variable

Create a 3x3 matrix and then edit the values of the matrix in the Workspace browser.

Create a 3x3 matrix and store it in A.

A = [1 2 3; 4 5 6; 7 8 9];

Open the Workspace browser to view A.

workspace

Right-click the variable and select Edit Value. Replace the numbers 4, 5, and 6 with the numbers 10, 11, and 12, respectively.

Programmatic Use

expand all

workspace

workspace displays the Workspace browser. If the Workspace browser is already open, MATLAB selects the tool.

Version History

Introduced before R2006a

See Also

openvar | who | load | save | clear

TopicsCreate and Edit VariablesEnter Statements in Command WindowUse MATLAB Engine Workspace in Python


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3